---
# tasks file for share
- name: cifs-utils and libpam-mount
  ansible.builtin.apt:
    pkg:
    - cifs-utils
    - libpam-mount
    state: latest

- name: pam_mount configuration
  ansible.builtin.copy:
    src: pam_mount.conf.xml
    dest: /etc/security/pam_mount.conf.xml

- name: common-session configuration
  ansible.builtin.copy:
    src: common-session
    dest: /etc/pam.d/common-session
